home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr14 / gameinet.zip / HOWTO
Text File  |  1995-01-26  |  12KB  |  248 lines

  1. BIG HANK'S GUIDE TO MULTIPLAYER GAMES THROUGH THE INTERNET
  2. Practical Instructions for Total Dweebs
  3. by Henry "Big Hank" Liang
  4.    liangh@eniac.seas.upenn.edu
  5.  
  6. Last updated 13 December 1994 -- Document generalized from AirWarrior to 
  7. multiplayer games in general.
  8.  
  9. INTRODUCTION
  10.  
  11. Okay.  You've got your cool multiplayer game, and chances are you've done a 
  12. little bit of playing around with local gamers.  You've had your fill 
  13. of the computer-controlled opposition and the local pool of players is 
  14. getting too easy for you to beat ... if only you could expand your 
  15. list of potential victims to include all those upstarts bragging about their 
  16. skills on the Internet.  'Course, it'd be even better if you didn't have 
  17. to call into the next time zone to find a Head to Head opponent.
  18.  
  19. Enter IHHD -- the Internet Head to Head Daemon designed by Jim Knutson.  
  20. With this brilliant little piece of code, multiplayer gaming has soared 
  21. to new heights.  With IHHD, you'll be able to fly Head to Head (H2H) against
  22. other human opponents all over the world, with the only cost to you being
  23. the regular prices you pay to connect to or use your Internet host.  
  24.  
  25.  
  26. HOW TO GET IT
  27.  
  28. First of all, your host needs to be running UNIX as its operating
  29. system.  Sorry, VAX VMS users, you're screwed.  If you aren't sure what
  30. your host is running for its operating system, check the information given
  31. at the login prompt or send mail to your host's computer guru.
  32.  
  33. Other than that, you should be able to run IHHD with ease.  Your first
  34. order of business is to get the IHHD software.  It is available via
  35. anonymous FTP to cactus.org in the pub/IHHD directory.  To get it, 
  36.  
  37.     1. FTP to cactus.org  
  38.            (Type "ftp cactus.org" at the UNIX prompt.) 
  39.     2. At the login prompt, enter "ftp"
  40.     3. At the password prompt, enter your e-mail address
  41.     4. At the command prompt, type "cd pub/IHHD/src"
  42.     5. Type "binary"
  43.     6. Type "get dialer1.6.4.shar"
  44.     7. Type "quit"
  45.  
  46. Okay, if you followed the above steps, you should now have the
  47. dialer1.6.4.shar file in your home directory.  Type "ls" at your host's
  48. command prompt to verify its existence.  If you don't see it, try the
  49. above steps again or call for help.
  50.  
  51. Next, if you've successfully retrieved the dialer1.6.4.shar file from
  52. cactus.org, you need to prepare the IHHD to run on your computer.  For
  53. UNIX veterans, the dialer1.6.4.shar file is in fact a shar file, and
  54. contains a makefile for easy compiling on your system.  For the rest of
  55. us, follow these steps to get the IHHD up and running:
  56.  
  57.     1. Create a directory to put the IHHD software in.  
  58.        Type "mkdir IHHD" at the command prompt.
  59.     2. Move the IHHD file to the new directory.  
  60.        Type "mv dialer1.6.4.shar ~/IHHD"
  61.     3. Go to the IHHD directory.
  62.        Type "cd IHHD"
  63.     4. Unpack the IHHD files.
  64.        Type "sh dialer1.6.4.shar"
  65.     5. Compile the IHHD software to run on your system.
  66.        Type "make"
  67.     6. You should now see a whole mess of files in the IHHD directory.
  68.         The important filenames you're looking for should be:
  69.         dialer
  70.         tcpdialer
  71.         tcpanswer
  72.         call
  73.           showlog
  74.     7. If you've got these, you're cool.  Otherwise, try the above
  75.        steps again, re-retrieve the dialer1.6.4.shar file from
  76.        cactus.org using the instructions above, or call for help.
  77.            The best source for help with compiler problems would be your 
  78.            local Unix guru or sysadmin.
  79.  
  80. If everything checks out, you're ready to rumble!
  81.  
  82.  
  83. PLAYING MULTIPLAYER GAMES THROUGH IHHD
  84.  
  85. You'll want to test out IHHD to see if it really works, of course.  To do
  86. that, the best way is to simply try to play a regular H2H game with 
  87. someone else running the IHHD software.  The best way to arrange a match 
  88. is through e-mail and "talk" on the Internet.
  89.  
  90. Here's how you get connected using IHHD:
  91.  
  92.     1. Set up a time to play with another Internet player. 
  93.        Ideally, you should use e-mail to make the prior arrangements,
  94.        and then agree to meet in "talk" or "ntalk" at a designated time.
  95.        
  96.        Make sure you and your opponent use the same line settings for your
  97.        modems.  Your data bits, parity, and stop bits should be the same or
  98.        you'll experience heavy warping, line noise, and other yucky
  99.        stuff.  Generally, most players use 8 data bits, 1 stop bit, and
  100.        no parity (8N1), although the specific line settings shouldn't make 
  101.            a big difference.  Generally, it helps if the line settings are 
  102.            the SAME for both players.
  103.  
  104.        If your modem game doesn't like data compression and error 
  105.            correction, make sure that they're disabled on your modem if 
  106.            you have such features.  Check the documentation for your 
  107.            modem for the appropriate control strings to disable these 
  108.            features.  If you aren't sure if your modem game works better 
  109.            with or without data compression and error correction, experiment 
  110.            with it first disabled, and then enabled to compare performance.
  111.  
  112.     2. When it's time to play, start up your game and call up your Internet 
  113.            host using your modem.  Alternatively, if your game doesn't 
  114.            support a terminal interface, you'll have to call up your 
  115.            Internet host with a regular communications program, establish 
  116.            the IHHD link, and then drop into DOS to start your game WITHOUT 
  117.            DISCONNECTING THE PHONE.  At any rate, you must make sure that 
  118.            your baud rate and line settings will correspond to your 
  119.            opponent's.
  120.  
  121.     3. Login to your Internet host normally.
  122.  
  123.     4. Contact the other player through "talk" or "ntalk", or send a
  124.        short e-mail message indicating that you are on the net and ready to
  125.        play. 
  126.     
  127.     5. Once you both establish that you're there and ready to go, exit
  128.        "talk" and return to your UNIX prompt.
  129.  
  130.     6. Type "cd IHHD" to enter your IHHD directory.  Alternately, you
  131.        can add the IHHD directory to your path.  Ask your local UNIX
  132.        guru if you don't know how to do this.
  133.  
  134.     7. Type "dialer opponent's.host" to start the IHHD connection. 
  135.        For example, if you were playing against knuston@cactus.org,
  136.        you would type "dialer cactus.org" to initiate the connection.
  137.  
  138.        Another way is to type "tcpdialer -call opponent's.host" while your
  139.        opponent types "tcpdialer -answer".  Or reverse roles, where
  140.        you type "tcpdialer -answer" while your opponent types 
  141.        "tcpdialer -call your.host".  The difference is that tcpdialer 
  142.        prioritizes the packets your game send out, so that they are sent 
  143.        and received in a specific order, while dialer simply dumps output 
  144.        through the link as fast as possible without prioritization.  Hence, 
  145.            dialer is normally faster, but can be less stable with poor 
  146.            Internet connections, while tcpdialer provides greater 
  147.            stability with less speed over poor connections.
  148.  
  149.        So, to recap, there are two methods of IHHD connection.
  150.        Method 1: dialer.  You each type "dialer other.guy's.host"  
  151.        Method 2: tcpdialer.  One of you types "tcpdialer -call 
  152.                  other.guy's.host" while the other types "tcpdialer 
  153.                -answer".
  154.  
  155.     8. Regardless of which method you use to connect, type short text
  156.        messages followed by a carriage return until you see your opponent
  157.        acknowledge you.  Unless you have "local echo" set to ON in
  158.        your serial settings, you will not see the text you type.
  159.  
  160.     9. If you don't see your opponent after a reasonable amount of time,
  161.        exit dialer or tcpdialer by pressing "ctrl-c" (i.e. hitting
  162.        the "ctrl" and "c" key simultaneously) a number of times.  Contact
  163.         your opponent again through "talk" and agree to try the other method
  164.        of connecting. 
  165.     
  166.     10. If your connection looks fine, your opponent has acknowledged
  167.         you and you have acknowledged him, you can now initiate a 
  168.             serial link if your multiplayer game has this option.  If 
  169.             you're calling into your hosts with regular terminal programs, 
  170.             you must now drop to DOS WITHOUT HANGING UP THE LINE.  Once 
  171.             in DOS, you should start up your multiplayer game and start it 
  172.             running on a serial (null-modem) link.
  173.  
  174.          Try the other connection method if you continue to have troubles,
  175.         or call for help.
  176.  
  177.     11. Congratulations!  You're now connected IHHD.  You can now proceed 
  178.             to do all the H2H stuff as if you were connected via a regular 
  179.             serial link.
  180.  
  181.  
  182. SOME THINGS TO BE AWARE OF
  183.  
  184. I. Net Delays and Warping
  185.  
  186. Unfortunately, because of the nature of the Internet, delays and warping
  187. may occur with your IHHD connection, depending on the quality of the
  188. connection between your and your opponent's host machines.  These delays
  189. are often sporadic, and depend largely on what's going on on the Internet
  190. at that particular times.  Then again, you might just be extremely unlucky
  191. and have a cruddy Internet connection.
  192.  
  193. To gauge the quality of the connection, try to "ping" your opponent's
  194. computer from your host.  At the UNIX prompt, type "ping -s
  195. opponent's.host".  You should get a listing of "ping times", which you may
  196. stop at any time by pressing "ctrl-c".  The shorter the times, the better.
  197.  
  198. Also, while you're playing SVGA AirWarrior via an IHHD connection, try 
  199. hitting "ESC-q" to see the ratio of acknowledged packets versus rejected 
  200. packets.  Of course, the less rejected packets you get, the better.
  201.  
  202. Another way to judge the quality of your connection is to simply look at
  203. the other player's warping.  If he's jumping all over the place, you've got
  204. a cruddy connection.  If he's relatively steady, you've got a good connection.
  205.  
  206. If all else fails, burn incense and sacrifice a beautiful young virgin
  207. princess to the net.gods.  No, wait.  Better yet, send the virgin to Big
  208. Hank (finger liangh@eniac.seas.upenn.edu for an address).  :)
  209.  
  210. II. Getting Dumped After Connection
  211.  
  212. Sometimes, regardless of how great your connection, you'll get dumped from
  213. your game and maybe even get a screenful of garbage and stuff.  In this 
  214. case, don't hang up yet.  Try reestablishing the connection within the 
  215. program, if possible.  For AirWarrior players, you can jump to the 
  216. Multiplayer menu option, hit "Connect," and select "manual dial" to 
  217. attempt to regain command authority of your terminal.  If you've tried 
  218. everything a number of times and it still doesn't work, hang up and 
  219. redial into your host, starting everything from the top.
  220.  
  221. Still need help?  Read this document over again.  Then read this document 
  222. over again.  After that, try reading this document over again.  If you're 
  223. still in need of help, and it's a problem with getting IHHD to compile, 
  224. ask your local Unix guru or system administrator -- they'll probably know 
  225. more about the problem that I will.  If all else fails, read this 
  226. document over again, and if you're still really, really puzzled, e-mail 
  227. the IHHD mailing list at IHHD@cactus.org.  You'll have to subscribe to 
  228. the list first by sending mail to listproc@cactus.org with the words 
  229. "subscribe IHHD your-name" in the body of the message.
  230.  
  231. If you have further questions on using IHHD specifically with Kesmai's 
  232. SVGA Air Warrior for which this document was originally written, post to the 
  233. Internet AirWarrior mailing list 666th-etal@cactus.org.  You must first 
  234. subscribe to the group by sending e-mail to listproc@cactus.org with the 
  235. words 
  236.  
  237.     subscribe 666th-etal your name
  238.  
  239. in the body of the message.
  240.  
  241. ----------------------------------------------------------------------------
  242. IHHD is some sort of intellectual property of Jim Knutson, and is freeware.
  243. SVGA Air Warrior is some sort of intellectual property of Kesmai, Inc.
  244. This HowTo file is some sort of intellectual property of Henry Liang, and 
  245. is freely distributable because I'm a nice guy.  Unauthorized duplication,
  246. reproduction, modification, use, and other stuff not mentioned, especially 
  247. for profit, is bad.  Don't be a schmuck -- ask for permission first.
  248.